<div style="width: 100%;height: 1200px;background-color: white;padding: 10px;">
  <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div style="height: 40px;font-size: 16px;width: 100%">项目收入单</div>
    <div class="form-group col-xs-5">
      <label class="control-label col-xs-6 col-sm-4"><span class="cy-span-red">*</span>{:__('单据编号')}:</label>
      <div class="col-xs-6 col-sm-8">
        <input id="c-order_no" data-rule="required" data-source="basic/stash/index"
               class="form-control" name="order_no" type="text" value="{$order_no}">
      </div>
    </div>
    <div class="form-group col-xs-5">
      <label class="control-label col-xs-6 col-sm-4"><span class="cy-span-red">*</span>{:__('单据日期')}:</label>
      <div class="col-xs-6 col-sm-8">
        <input id="c-date" data-rule="required"
               class="form-control" name="date" type="date" value="{:date('Y-m-d')}">
      </div>
    </div>
    <div class="form-group col-xs-5">
      <label class="control-label col-xs-6 col-sm-4"><span class="cy-span-red">*</span>{:__('往来单位')}:</label>
      <div class="col-xs-6 col-sm-8">
        <input id="c-unit_id" data-rule="required" data-source="basic/unit/index"
               class="form-control selectpage" name="unit_id" type="text" value="">
      </div>
    </div>
    <div class="form-group col-xs-5">
      <label class="control-label col-xs-6 col-sm-4"><span class="cy-span-red">*</span>{:__('经手人')}:</label>
      <div class="col-xs-6 col-sm-8">
        <input id="c-staff_id" data-rule="required" data-source="basic/staff/index"
               class="form-control selectpage" name="staff_id" type="text" value="">
      </div>
    </div>
    <div class="form-group col-xs-5">
      <label class="control-label col-xs-6 col-sm-4">{:__('备注')}:</label>
      <div class="col-xs-6 col-sm-8">
        <input id="c-remarks" data-rule=""
               class="form-control " name="remarks" type="text" value="">
      </div>
    </div>

    <style>
      .cy-div {
        padding: 0;
      }

      .goods_name, .goods_number {
        cursor: pointer;
      }

      .del-span {
        position: absolute;
        display: inline-block;
        width: 50px;
        height: 40px;
        line-height: 33px;
        text-align: center;
      }
    </style>

    <div id="project">
      <div class="form-group col-xs-12 project1" style="margin-left: 5%">
        <label class="control-label col-xs-1 col-sm-1">1</label>

        <div class="col-xs-3 col-sm-3 cy-div">
          <input data-rule=""
                 class="form-control project_id project_id1" readonly data-xh="1"
                 name="project_id[]" type="hidden" value="" data-field="number" placeholder="项目id">
          <input data-rule=""
                 class="form-control project_name project_name1" readonly name="project_name[]" data-xh="1"
                 type="text"
                 value="" placeholder="点击选择项目">
        </div>

        <div class="col-xs-1 col-sm-1 cy-div">
          <input data-rule=""
                 class="form-control project_price project_price1" name="project_price[]" type="text" value=""
                 data-xh="1"
                 placeholder="金额">
        </div>
        <div class="col-xs-2 col-sm-2 cy-div">
          <input data-rule=""
                 class="form-control project_remarks project_remarks1" name="project_remarks[]" type="text"
                 value="" data-xh="1"
                 placeholder="备注">
          <!--                    <span class="del-span">删除</span>-->
        </div>
        <div data-xh="1" class="col-xs-1 col-sm-1 cy-div goods_del"
             style="line-height: 35px;padding-left: 10px; cursor: pointer;">
          删除
        </div>
      </div>
    </div>

    <div class="form-group col-xs-5">
      <label class="control-label col-xs-6 col-sm-4"><span class="cy-span-red">*</span>{:__('付款金额')}:</label>
      <div class="col-xs-6 col-sm-8">
        <input id="c-amount" data-rule="required" placeholder="总金额"
               class="form-control" name="amount" type="text" value="">
      </div>
    </div>
    <div class="form-group col-xs-5">
      <label class="control-label col-xs-6 col-sm-4"><span class="cy-span-red">*</span>{:__('付款账户')}:</label>
      <div class="col-xs-6 col-sm-8">
        <input id="c-assets_id" data-rule="required" data-source="basic/assets/index"
               class="form-control selectpage" name="assets_id" type="text" value="">
      </div>
    </div>

    <div class="form-group layer-footer col-xs-8" style="margin-top: 100px;">
      <label class="control-label col-xs-12 col-sm-2"></label>
      <div class="col-xs-12 col-sm-8">
        <button type="submit" class="btn btn-primary btn-embossed  disabled">{:__('OK')}</button>

      </div>
    </div>
  </form>
</div>